package com.zbkj.admin.response;

import com.zbkj.admin.model.order.OrderInvoiceDetail;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 发货单响应对象
 * </p>
 *
 * @author HZW
 * @since 2022-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description = "OrderInvoiceResponse对象 发货单响应对象")
public class OrderInvoiceResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Integer id;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "商户ID")
    private Integer merId;

    @Schema(description = "用户id")
    private Integer uid;

    @Schema(description = "运单号")
    private String trackingNumber;

    @Schema(description = "快递名称")
    private String expressName;

    @Schema(description = "快递公司简称")
    private String expressCode;

    @Schema(description = "发货商品总数")
    private Integer totalNum;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "发货备注")
    private String deliveryMark;

    @Schema(description = "配送人员")
    private String deliveryCarrier;

    @Schema(description = "配送人员手机号")
    private String carrierPhone;

    @Schema(description = "发货类型：express-快递,merchant-商家配送，noNeed-无需发货")
    private String deliveryType;

    @Schema(description = "发货单详情列表")
    private List<OrderInvoiceDetail> detailList;
}
